Skip to content

feat(data-connect): Caching for FDC#9439

Merged
maneesht merged 91 commits intomainfrom
mtewani/caching-first-pass
Feb 23, 2026
Merged

feat(data-connect): Caching for FDC#9439
maneesht merged 91 commits intomainfrom
mtewani/caching-first-pass

Conversation

@maneesht
Copy link
Contributor

@maneesht maneesht commented Jan 6, 2026

No description provided.

@maneesht maneesht requested review from a team and aashishpatil-g as code owners January 6, 2026 23:39
@aashishpatil-g
Copy link

LGTM pending the comments.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a comprehensive caching layer for Data Connect, which is a significant and well-executed feature. The architecture is robust, handling entity normalization, cache invalidation on user changes, and providing different fetch policies. The code is well-structured with good separation of concerns and is accompanied by extensive tests. I've identified one high-severity issue with the implementation of the CACHE_ONLY fetch policy, where it incorrectly falls back to a network request. A code suggestion to fix this is provided. Overall, this is an excellent contribution.

Copy link
Contributor

@hsubox76 hsubox76 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a changeset. Looks like a new feature so probably "minor" and make sure to add 'firebase': minor also.

@maneesht maneesht requested a review from a team as a code owner February 20, 2026 23:29
@github-actions
Copy link
Contributor

github-actions bot commented Feb 20, 2026

Changeset File Check ✅

  • No modified packages are missing from the changeset file.
  • No changeset formatting errors detected.

Copy link
Contributor

@hsubox76 hsubox76 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like yarn format needs to be run also.

@hsubox76 hsubox76 changed the title Caching for FDC feat(data-connect): Caching for FDC Feb 23, 2026
Copy link
Contributor

@stephenarosaj stephenarosaj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@maneesht maneesht merged commit eebba69 into main Feb 23, 2026
43 of 44 checks passed
@maneesht maneesht deleted the mtewani/caching-first-pass branch February 23, 2026 23:30
@google-oss-bot google-oss-bot mentioned this pull request Feb 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.